home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / CHIP_CD_2003-12.iso / macos / pack1 / files / maczip.sit / MacZip 1.06 final / do_cmd Example next >
MacBinary  |  1999-06-17  |  4.0 KB  |  [TEXT/ToyS]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: do_cmd Example

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Jun 17 18:48:44 1999, modified Thu Jun 17 18:48:44 1999, creator 'ToyS', type ASCII, 3237 bytes "do_cmd Example" , at 0xd25 574 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ToyS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 64 6f 5f 63 6d 64 | 20 45 78 61 6d 70 6c 65 |..do_cmd| Example|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 6f 79 | 53 01 00 00 00 00 00 00 |.TEXTToy|S.......|
|00000050| 00 00 00 00 00 0c a5 00 | 00 02 3e b3 8f 2b cc b3 |........|..>..+..|
|00000060| 8f 2b cc 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.+......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5c f6 00 00 |........|....\...|
|00000080| 0d 2d 2d 20 45 6e 74 65 | 72 20 68 65 72 65 20 79 |.-- Ente|r here y|
|00000090| 6f 75 72 20 43 6f 6d 6d | 61 6e 64 6c 69 6e 65 0d |our Comm|andline.|
|000000a0| 73 65 74 20 43 6f 6d 6d | 61 6e 64 4c 69 6e 65 20 |set Comm|andLine |
|000000b0| 74 6f 20 22 7a 69 70 20 | 2d 72 6d 20 61 72 63 68 |to "zip |-rm arch|
|000000c0| 69 76 65 20 2a 22 0d 0d | 74 72 79 0d 09 74 65 6c |ive *"..|try..tel|
|000000d0| 6c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 22 4d |l applic|ation "M|
|000000e0| 61 63 5a 69 70 20 63 72 | 79 70 74 20 28 46 41 54 |acZip cr|ypt (FAT|
|000000f0| 29 22 0d 09 09 61 63 74 | 69 76 61 74 65 0d 09 09 |)"...act|ivate...|
|00000100| 77 69 74 68 20 74 69 6d | 65 6f 75 74 20 6f 66 20 |with tim|eout of |
|00000110| 39 30 30 30 30 20 73 65 | 63 6f 6e 64 73 0d 09 09 |90000 se|conds...|
|00000120| 09 2d 2d 20 75 6e 63 6f | 6d 6d 65 6e 74 20 74 68 |.-- unco|mment th|
|00000130| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6d 6d |e follow|ing comm|
|00000140| 61 6e 64 20 74 6f 20 73 | 75 70 70 72 65 73 73 20 |and to s|uppress |
|00000150| 77 61 72 6e 69 6e 67 20 | 0d 09 09 09 2d 2d 20 62 |warning |....-- b|
|00000160| 6f 78 65 73 20 66 6f 72 | 20 73 77 69 74 63 68 65 |oxes for| switche|
|00000170| 73 20 2d 6d 20 61 6e 64 | 20 2d 64 66 20 0d 09 09 |s -m and| -df ...|
|00000180| 09 64 6f 5f 63 6d 64 20 | 22 4e 6f 57 61 72 6e 69 |.do_cmd |"NoWarni|
|00000190| 6e 67 42 6f 78 65 73 22 | 0d 09 09 09 64 6f 5f 63 |ngBoxes"|....do_c|
|000001a0| 6d 64 20 43 6f 6d 6d 61 | 6e 64 4c 69 6e 65 0d 09 |md Comma|ndLine..|
|000001b0| 09 65 6e 64 20 74 69 6d | 65 6f 75 74 0d 09 09 71 |.end tim|eout...q|
|000001c0| 75 69 74 0d 09 65 6e 64 | 20 74 65 6c 6c 0d 6f 6e |uit..end| tell.on|
|000001d0| 20 65 72 72 6f 72 20 6e | 75 6d 62 65 72 20 45 72 | error n|umber Er|
|000001e0| 72 6f 72 4e 75 6d 62 65 | 72 0d 09 62 65 65 70 20 |rorNumbe|r..beep |
|000001f0| 31 0d 09 61 63 74 69 76 | 61 74 65 0d 09 2d 2d 20 |1..activ|ate..-- |
|00000200| 75 6e 66 6f 72 74 75 6e | 61 74 65 6c 79 20 74 68 |unfortun|ately th|
|00000210| 65 72 65 20 69 73 20 61 | 20 6f 76 65 72 6c 61 70 |ere is a| overlap|
|00000220| 20 6f 66 20 74 68 65 20 | 65 72 72 6f 72 63 6f 64 | of the |errorcod|
|00000230| 65 73 0d 09 2d 2d 20 73 | 6f 20 77 65 20 6e 65 65 |es..-- s|o we nee|
|00000240| 64 20 74 6f 20 64 69 73 | 74 69 6e 67 75 69 73 68 |d to dis|tinguish|
|00000250| 20 62 65 74 77 65 65 6e | 20 7a 69 70 20 61 6e 64 | between| zip and|
|00000260| 20 75 6e 7a 69 70 0d 09 | 69 66 20 43 6f 6d 6d 61 | unzip..|if Comma|
|00000270| 6e 64 4c 69 6e 65 20 73 | 74 61 72 74 73 20 77 69 |ndLine s|tarts wi|
|00000280| 74 68 20 22 7a 69 70 22 | 20 74 68 65 6e 20 c2 0d |th "zip"| then ..|
|00000290| 09 09 5a 69 70 45 72 72 | 6f 72 48 61 6e 64 6c 65 |..ZipErr|orHandle|
|000002a0| 72 28 43 6f 6d 6d 61 6e | 64 4c 69 6e 65 2c 20 45 |r(Comman|dLine, E|
|000002b0| 72 72 6f 72 4e 75 6d 62 | 65 72 29 0d 09 69 66 20 |rrorNumb|er)..if |
|000002c0| 43 6f 6d 6d 61 6e 64 4c | 69 6e 65 20 73 74 61 72 |CommandL|ine star|
|000002d0| 74 73 20 77 69 74 68 20 | 22 75 6e 7a 69 70 22 20 |ts with |"unzip" |
|000002e0| 74 68 65 6e 20 c2 0d 09 | 09 55 6e 7a 69 70 45 72 |then ...|.UnzipEr|
|000002f0| 72 6f 72 48 61 6e 64 6c | 65 72 28 43 6f 6d 6d 61 |rorHandl|er(Comma|
|00000300| 6e 64 4c 69 6e 65 2c 20 | 45 72 72 6f 72 4e 75 6d |ndLine, |ErrorNum|
|00000310| 62 65 72 29 0d 65 6e 64 | 20 74 72 79 0d 0d 0d 0d |ber).end| try....|
|00000320| 0d 6f 6e 20 5a 69 70 45 | 72 72 6f 72 48 61 6e 64 |.on ZipE|rrorHand|
|00000330| 6c 65 72 28 45 72 72 6f | 72 4d 65 73 73 61 67 65 |ler(Erro|rMessage|
|00000340| 2c 20 45 72 72 6f 72 4e | 75 6d 62 65 72 29 0d 09 |, ErrorN|umber)..|
|00000350| 2d 2d 20 45 72 72 6f 72 | 20 72 65 74 75 72 6e 20 |-- Error| return |
|00000360| 76 61 6c 75 65 73 2e 20 | 20 54 68 65 20 76 61 6c |values. | The val|
|00000370| 75 65 73 20 30 2e 2e 34 | 20 61 6e 64 20 31 32 2e |ues 0..4| and 12.|
|00000380| 2e 31 38 20 66 6f 6c 6c | 6f 77 20 74 68 65 20 63 |.18 foll|ow the c|
|00000390| 6f 6e 76 65 6e 74 69 6f | 6e 73 0d 09 2d 2d 20 6f |onventio|ns..-- o|
|000003a0| 66 20 50 4b 5a 49 50 2e | 20 20 20 54 68 65 20 76 |f PKZIP.| The v|
|000003b0| 61 6c 75 65 73 20 34 2e | 2e 31 30 20 61 72 65 20 |alues 4.|.10 are |
|000003c0| 61 6c 6c 20 61 73 73 69 | 67 6e 65 64 20 74 6f 20 |all assi|gned to |
|000003d0| 22 69 6e 73 75 66 66 69 | 63 69 65 6e 74 20 6d 65 |"insuffi|cient me|
|000003e0| 6d 6f 72 79 22 0d 09 2d | 2d 20 62 79 20 50 4b 5a |mory"..-|- by PKZ|
|000003f0| 49 50 2c 20 73 6f 20 74 | 68 65 20 63 6f 64 65 73 |IP, so t|he codes|
|00000400| 20 35 2e 2e 31 30 20 61 | 72 65 20 75 73 65 64 20 | 5..10 a|re used |
|00000410| 68 65 72 65 20 66 6f 72 | 20 6f 74 68 65 72 20 70 |here for| other p|
|00000420| 75 72 70 6f 73 65 73 2e | 20 0d 09 74 72 79 0d 09 |urposes.| ..try..|
|00000430| 09 73 65 74 20 54 65 6d | 70 45 72 72 4e 75 6d 20 |.set Tem|pErrNum |
|00000440| 74 6f 20 45 72 72 6f 72 | 4e 75 6d 62 65 72 0d 09 |to Error|Number..|
|00000450| 09 69 66 20 45 72 72 6f | 72 4e 75 6d 62 65 72 20 |.if Erro|rNumber |
|00000460| 3d 20 38 30 20 74 68 65 | 6e 20 73 65 74 20 54 65 |= 80 the|n set Te|
|00000470| 6d 70 45 72 72 4e 75 6d | 20 74 6f 20 31 39 0d 09 |mpErrNum| to 19..|
|00000480| 09 69 74 65 6d 20 54 65 | 6d 70 45 72 72 4e 75 6d |.item Te|mpErrNum|
|00000490| 20 6f 66 20 7b c2 0d 09 | 09 09 22 20 75 6e 6b 6e | of {...|.." unkn|
|000004a0| 6f 77 6e 20 22 2c 20 c2 | 0d 09 09 09 22 20 75 6e |own ", .|...." un|
|000004b0| 65 78 70 65 63 74 65 64 | 20 65 6e 64 20 6f 66 20 |expected| end of |
|000004c0| 7a 69 70 20 66 69 6c 65 | 20 22 2c 20 c2 0d 09 09 |zip file| ", ....|
|000004d0| 09 22 20 7a 69 70 20 66 | 69 6c 65 20 73 74 72 75 |." zip f|ile stru|
|000004e0| 63 74 75 72 65 20 65 72 | 72 6f 72 20 22 2c 20 c2 |cture er|ror ", .|
|000004f0| 0d 09 09 09 22 20 6f 75 | 74 20 6f 66 20 6d 65 6d |...." ou|t of mem|
|00000500| 6f 72 79 20 22 2c 20 c2 | 0d 09 09 09 22 20 69 6e |ory ", .|...." in|
|00000510| 74 65 72 6e 61 6c 20 6c | 6f 67 69 63 20 65 72 72 |ternal l|ogic err|
|00000520| 6f 72 20 22 2c 20 c2 0d | 09 09 09 22 20 65 6e 74 |or ", ..|..." ent|
|00000530| 72 79 20 74 6f 6f 20 6c | 61 72 67 65 20 74 6f 20 |ry too l|arge to |
|00000540| 73 70 6c 69 74 20 22 2c | 20 c2 0d 09 09 09 22 20 |split ",| ....." |
|00000550| 69 6e 76 61 6c 69 64 20 | 63 6f 6d 6d 65 6e 74 20 |invalid |comment |
|00000560| 66 6f 72 6d 61 74 20 22 | 2c 20 c2 0d 09 09 09 22 |format "|, ....."|
|00000570| 20 7a 69 70 20 74 65 73 | 74 20 28 2d 54 29 20 66 | zip tes|t (-T) f|
|00000580| 61 69 6c 65 64 20 6f 72 | 20 6f 75 74 20 6f 66 20 |ailed or| out of |
|00000590| 6d 65 6d 6f 72 79 20 22 | 2c 20 c2 0d 09 09 09 22 |memory "|, ....."|
|000005a0| 20 75 73 65 72 20 69 6e | 74 65 72 72 75 70 74 20 | user in|terrupt |
|000005b0| 6f 72 20 74 65 72 6d 69 | 6e 61 74 69 6f 6e 20 22 |or termi|nation "|
|000005c0| 2c 20 c2 0d 09 09 09 22 | 20 65 72 72 6f 72 20 75 |, ....."| error u|
|000005d0| 73 69 6e 67 20 61 20 74 | 65 6d 70 20 66 69 6c 65 |sing a t|emp file|
|000005e0| 20 22 2c 20 c2 0d 09 09 | 09 22 20 72 65 61 64 20 | ", ....|." read |
|000005f0| 6f 72 20 73 65 65 6b 20 | 65 72 72 6f 72 20 22 2c |or seek |error ",|
|00000600| 20 c2 0d 09 09 09 22 20 | 6e 6f 74 68 69 6e 67 20 | ....." |nothing |
|00000610| 74 6f 20 64 6f 20 22 2c | 20 c2 0d 09 09 09 22 20 |to do ",| ....." |
|00000620| 6d 69 73 73 69 6e 67 20 | 6f 72 20 65 6d 70 74 79 |missing |or empty|
|00000630| 20 7a 69 70 20 66 69 6c | 65 20 22 2c 20 c2 0d 09 | zip fil|e ", ...|
|00000640| 09 09 22 20 65 72 72 6f | 72 20 77 72 69 74 69 6e |.." erro|r writin|
|00000650| 67 20 74 6f 20 61 20 66 | 69 6c 65 20 22 2c 20 c2 |g to a f|ile ", .|
|00000660| 0d 09 09 09 22 20 63 6f | 75 6c 64 6e 27 74 20 6f |...." co|uldn't o|
|00000670| 70 65 6e 20 74 6f 20 77 | 72 69 74 65 20 22 2c 20 |pen to w|rite ", |
|00000680| c2 0d 09 09 09 22 20 62 | 61 64 20 63 6f 6d 6d 61 |....." b|ad comma|
|00000690| 6e 64 20 6c 69 6e 65 20 | 22 2c 20 c2 0d 09 09 09 |nd line |", .....|
|000006a0| 22 20 75 6e 6b 6e 6f 77 | 6e 20 22 2c 20 c2 0d 09 |" unknow|n ", ...|
|000006b0| 09 09 22 20 63 6f 75 6c | 64 20 6e 6f 74 20 6f 70 |.." coul|d not op|
|000006c0| 65 6e 20 61 20 73 70 65 | 63 69 66 69 65 64 20 66 |en a spe|cified f|
|000006d0| 69 6c 65 20 74 6f 20 72 | 65 61 64 20 22 2c 20 c2 |ile to r|ead ", .|
|000006e0| 0d 09 09 09 22 20 75 73 | 65 72 20 68 69 74 20 5b |...." us|er hit [|
|000006f0| 63 6f 6d 6d 61 6e 64 5d | 20 2b 20 5b 2e 5d 20 74 |command]| + [.] t|
|00000700| 6f 20 74 65 72 6d 69 6e | 61 74 65 20 22 7d 0d 09 |o termin|ate "}..|
|00000710| 6f 6e 20 65 72 72 6f 72 | 0d 09 09 73 65 74 20 72 |on error|...set r|
|00000720| 65 73 75 6c 74 20 74 6f | 20 22 55 6e 6b 6e 6f 77 |esult to| "Unknow|
|00000730| 6e 20 45 72 72 6f 72 22 | 0d 09 65 6e 64 20 74 72 |n Error"|..end tr|
|00000740| 79 0d 09 64 69 73 70 6c | 61 79 20 64 69 61 6c 6f |y..displ|ay dialo|
|00000750| 67 20 c2 0d 09 09 22 43 | 6f 6d 6d 61 6e 64 20 66 |g ...."C|ommand f|
|00000760| 61 69 6c 65 64 3a 20 22 | 20 26 20 72 65 74 75 72 |ailed: "| & retur|
|00000770| 6e 20 26 20 22 5b 22 20 | 26 20 45 72 72 6f 72 4d |n & "[" |& ErrorM|
|00000780| 65 73 73 61 67 65 20 26 | 20 c2 0d 09 09 22 5d 22 |essage &| ...."]"|
|00000790| 20 26 20 72 65 74 75 72 | 6e 20 26 20 22 5c 22 22 | & retur|n & "\""|
|000007a0| 20 26 20 72 65 73 75 6c | 74 20 26 20 22 20 5c 22 | & resul|t & " \"|
|000007b0| 22 20 26 20 72 65 74 75 | 72 6e 20 c2 0d 09 09 26 |" & retu|rn ....&|
|000007c0| 20 22 52 65 73 75 6c 74 | 20 43 6f 64 65 3a 20 22 | "Result| Code: "|
|000007d0| 20 26 20 45 72 72 6f 72 | 4e 75 6d 62 65 72 20 62 | & Error|Number b|
|000007e0| 75 74 74 6f 6e 73 20 7b | 22 4f 6f 6f 70 73 22 7d |uttons {|"Ooops"}|
|000007f0| 20 64 65 66 61 75 6c 74 | 20 62 75 74 74 6f 6e 20 | default| button |
|00000800| 31 20 c2 0d 09 09 77 69 | 74 68 20 69 63 6f 6e 20 |1 ....wi|th icon |
|00000810| 73 74 6f 70 0d 09 0d 65 | 6e 64 20 5a 69 70 45 72 |stop...e|nd ZipEr|
|00000820| 72 6f 72 48 61 6e 64 6c | 65 72 0d 0d 0d 0d 0d 6f |rorHandl|er.....o|
|00000830| 6e 20 55 6e 7a 69 70 45 | 72 72 6f 72 48 61 6e 64 |n UnzipE|rrorHand|
|00000840| 6c 65 72 28 45 72 72 6f | 72 4d 65 73 73 61 67 65 |ler(Erro|rMessage|
|00000850| 2c 20 45 72 72 6f 72 4e | 75 6d 62 65 72 29 0d 09 |, ErrorN|umber)..|
|00000860| 74 72 79 0d 09 09 73 65 | 74 20 54 65 6d 70 45 72 |try...se|t TempEr|
|00000870| 72 4e 75 6d 20 74 6f 20 | 45 72 72 6f 72 4e 75 6d |rNum to |ErrorNum|
|00000880| 62 65 72 0d 09 09 69 66 | 20 45 72 72 6f 72 4e 75 |ber...if| ErrorNu|
|00000890| 6d 62 65 72 20 3d 20 35 | 30 20 74 68 65 6e 20 73 |mber = 5|0 then s|
|000008a0| 65 74 20 54 65 6d 70 45 | 72 72 4e 75 6d 20 74 6f |et TempE|rrNum to|
|000008b0| 20 31 32 0d 09 09 69 66 | 20 45 72 72 6f 72 4e 75 | 12...if| ErrorNu|
|000008c0| 6d 62 65 72 20 3d 20 35 | 31 20 74 68 65 6e 20 73 |mber = 5|1 then s|
|000008d0| 65 74 20 54 65 6d 70 45 | 72 72 4e 75 6d 20 74 6f |et TempE|rrNum to|
|000008e0| 20 31 33 0d 09 09 69 66 | 20 45 72 72 6f 72 4e 75 | 13...if| ErrorNu|
|000008f0| 6d 62 65 72 20 3d 20 38 | 30 20 74 68 65 6e 20 73 |mber = 8|0 then s|
|00000900| 65 74 20 54 65 6d 70 45 | 72 72 4e 75 6d 20 74 6f |et TempE|rrNum to|
|00000910| 20 31 34 0d 09 09 69 66 | 20 45 72 72 6f 72 4e 75 | 14...if| ErrorNu|
|00000920| 6d 62 65 72 20 3d 20 38 | 31 20 74 68 65 6e 20 73 |mber = 8|1 then s|
|00000930| 65 74 20 54 65 6d 70 45 | 72 72 4e 75 6d 20 74 6f |et TempE|rrNum to|
|00000940| 20 31 35 0d 09 09 69 66 | 20 45 72 72 6f 72 4e 75 | 15...if| ErrorNu|
|00000950| 6d 62 65 72 20 3d 20 38 | 32 20 74 68 65 6e 20 73 |mber = 8|2 then s|
|00000960| 65 74 20 54 65 6d 70 45 | 72 72 4e 75 6d 20 74 6f |et TempE|rrNum to|
|00000970| 20 31 36 0d 09 09 0d 09 | 09 69 74 65 6d 20 54 65 | 16.....|.item Te|
|00000980| 6d 70 45 72 72 4e 75 6d | 20 6f 66 20 7b c2 0d 09 |mpErrNum| of {...|
|00000990| 09 09 22 20 77 61 72 6e | 69 6e 67 20 65 72 72 6f |.." warn|ing erro|
|000009a0| 72 20 22 2c 20 c2 0d 09 | 09 09 22 20 65 72 72 6f |r ", ...|.." erro|
|000009b0| 72 20 69 6e 20 7a 69 70 | 66 69 6c 65 20 22 2c 20 |r in zip|file ", |
|000009c0| c2 0d 09 09 09 22 20 73 | 65 76 65 72 65 20 65 72 |....." s|evere er|
|000009d0| 72 6f 72 20 69 6e 20 7a | 69 70 66 69 6c 65 20 22 |ror in z|ipfile "|
|000009e0| 2c 20 c2 0d 09 09 09 22 | 20 69 6e 73 75 66 66 69 |, ....."| insuffi|
|000009f0| 63 69 65 6e 74 20 6d 65 | 6d 6f 72 79 20 28 64 75 |cient me|mory (du|
|00000a00| 72 69 6e 67 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |ring ini|tializat|
|00000a10| 69 6f 6e 29 20 22 2c 20 | c2 0d 09 09 09 22 20 69 |ion) ", |....." i|
|00000a20| 6e 73 75 66 66 69 63 69 | 65 6e 74 20 6d 65 6d 6f |nsuffici|ent memo|
|00000a30| 72 79 20 28 70 61 73 73 | 77 6f 72 64 20 66 61 69 |ry (pass|word fai|
|00000a40| 6c 75 72 65 29 20 22 2c | 20 c2 0d 09 09 09 22 20 |lure) ",| ....." |
|00000a50| 69 6e 73 75 66 66 69 63 | 69 65 6e 74 20 6d 65 6d |insuffic|ient mem|
|00000a60| 6f 72 79 20 28 66 69 6c | 65 20 64 65 63 6f 6d 70 |ory (fil|e decomp|
|00000a70| 72 65 73 73 69 6f 6e 29 | 20 22 2c 20 c2 0d 09 09 |ression)| ", ....|
|00000a80| 09 22 20 69 6e 73 75 66 | 66 69 63 69 65 6e 74 20 |." insuf|ficient |
|00000a90| 6d 65 6d 6f 72 79 20 28 | 6d 65 6d 6f 72 79 20 64 |memory (|memory d|
|00000aa0| 65 63 6f 6d 70 72 65 73 | 73 69 6f 6e 29 20 22 2c |ecompres|sion) ",|
|00000ab0| 20 c2 0d 09 09 09 22 20 | 69 6e 73 75 66 66 69 63 | ....." |insuffic|
|00000ac0| 69 65 6e 74 20 6d 65 6d | 6f 72 79 20 28 6e 6f 74 |ient mem|ory (not|
|00000ad0| 20 79 65 74 20 75 73 65 | 64 29 20 22 2c 20 c2 0d | yet use|d) ", ..|
|00000ae0| 09 09 09 22 20 7a 69 70 | 66 69 6c 65 20 6e 6f 74 |..." zip|file not|
|00000af0| 20 66 6f 75 6e 64 20 22 | 2c 20 c2 0d 09 09 09 22 | found "|, ....."|
|00000b00| 20 62 61 64 20 6f 72 20 | 69 6c 6c 65 67 61 6c 20 | bad or |illegal |
|00000b10| 70 61 72 61 6d 65 74 65 | 72 73 20 73 70 65 63 69 |paramete|rs speci|
|00000b20| 66 69 65 64 20 22 2c 20 | c2 0d 09 09 09 22 20 6e |fied ", |....." n|
|00000b30| 6f 20 66 69 6c 65 73 20 | 66 6f 75 6e 64 20 22 2c |o files |found ",|
|00000b40| 20 c2 0d 09 09 09 22 20 | 20 64 69 73 6b 20 66 75 | ....." | disk fu|
|00000b50| 6c 6c 20 22 2c 20 c2 0d | 09 09 09 22 20 20 75 6e |ll ", ..|..." un|
|00000b60| 65 78 70 65 63 74 65 64 | 20 45 4f 46 20 22 2c 20 |expected| EOF ", |
|00000b70| c2 0d 09 09 09 22 20 20 | 75 73 65 72 20 68 69 74 |....." |user hit|
|00000b80| 20 5b 63 6f 6d 6d 61 6e | 64 5d 20 2b 20 5b 2e 5d | [comman|d] + [.]|
|00000b90| 20 74 6f 20 74 65 72 6d | 69 6e 61 74 65 20 22 2c | to term|inate ",|
|00000ba0| 20 c2 0d 09 09 09 22 20 | 20 6e 6f 20 66 69 6c 65 | ....." | no file|
|00000bb0| 73 20 66 6f 75 6e 64 3a | 20 61 6c 6c 20 75 6e 73 |s found:| all uns|
|00000bc0| 75 70 2e 20 63 6f 6d 70 | 72 2f 65 6e 63 72 79 70 |up. comp|r/encryp|
|00000bd0| 74 2e 20 22 2c 20 c2 0d | 09 09 09 22 20 20 6e 6f |t. ", ..|..." no|
|00000be0| 20 66 69 6c 65 73 20 66 | 6f 75 6e 64 3a 20 61 6c | files f|ound: al|
|00000bf0| 6c 20 68 61 64 20 62 61 | 64 20 70 61 73 73 77 6f |l had ba|d passwo|
|00000c00| 72 64 20 22 7d 0d 09 6f | 6e 20 65 72 72 6f 72 0d |rd "}..o|n error.|
|00000c10| 09 09 73 65 74 20 72 65 | 73 75 6c 74 20 74 6f 20 |..set re|sult to |
|00000c20| 22 55 6e 6b 6e 6f 77 6e | 20 45 72 72 6f 72 22 0d |"Unknown| Error".|
|00000c30| 09 65 6e 64 20 74 72 79 | 0d 09 64 69 73 70 6c 61 |.end try|..displa|
|00000c40| 79 20 64 69 61 6c 6f 67 | 20 c2 0d 09 09 22 43 6f |y dialog| ...."Co|
|00000c50| 6d 6d 61 6e 64 20 66 61 | 69 6c 65 64 3a 20 22 20 |mmand fa|iled: " |
|00000c60| 26 20 72 65 74 75 72 6e | 20 26 20 22 5b 22 20 26 |& return| & "[" &|
|00000c70| 20 45 72 72 6f 72 4d 65 | 73 73 61 67 65 20 26 20 | ErrorMe|ssage & |
|00000c80| c2 0d 09 09 22 5d 22 20 | 26 20 72 65 74 75 72 6e |...."]" |& return|
|00000c90| 20 26 20 22 5c 22 22 20 | 26 20 72 65 73 75 6c 74 | & "\"" |& result|
|00000ca0| 20 26 20 22 20 5c 22 22 | 20 26 20 72 65 74 75 72 | & " \""| & retur|
|00000cb0| 6e 20 c2 0d 09 09 26 20 | 22 52 65 73 75 6c 74 20 |n ....& |"Result |
|00000cc0| 43 6f 64 65 3a 20 22 20 | 26 20 45 72 72 6f 72 4e |Code: " |& ErrorN|
|00000cd0| 75 6d 62 65 72 20 62 75 | 74 74 6f 6e 73 20 7b 22 |umber bu|ttons {"|
|00000ce0| 4f 6f 6f 70 73 22 7d 20 | 64 65 66 61 75 6c 74 20 |Ooops"} |default |
|00000cf0| 62 75 74 74 6f 6e 20 31 | 20 c2 0d 09 09 77 69 74 |button 1| ....wit|
|00000d00| 68 20 69 63 6f 6e 20 73 | 74 6f 70 0d 65 6e 64 20 |h icon s|top.end |
|00000d10| 55 6e 7a 69 70 45 72 72 | 6f 72 48 61 6e 64 6c 65 |UnzipErr|orHandle|
|00000d20| 72 0d 0d 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 01 e4 | 00 00 00 e4 00 00 00 5a |........|.......Z|
|00000d90| 61 ff 00 00 0b e6 30 1f | 2f 0b 70 42 aa aa 20 4a |a.....0.|/.pB.. J|
|00000da0| a0 23 30 43 2f 48 24 f4 | 60 00 02 aa 7e 00 3f 7c |.#0C/H$.|`...~.?||
|00000db0| 0e 64 6f 5f 63 6d 64 20 | 45 78 61 6d 70 6c 65 20 |.do_cmd |Example |
|00000dc0| 63 6f 6d 65 73 73 28 38 | 29 64 65 72 73 29 0d 6e |comess(8|)ders).n|
|00000dd0| 00 ef 54 45 58 54 54 6f | 79 53 01 00 00 00 00 41 |..TEXTTo|yS.....A|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 b2 99 ed c4 00 00 | 0c a5 00 00 02 3e 24 ac |........|.....>$.|
|00000e00| 48 6f 01 4e 41 ef 01 56 | 48 70 68 00 61 ff 00 00 |Ho.NA..V|Hph.a...|
|00000e10| 0b 84 30 1f 36 00 0c 43 | ff d9 66 02 76 00 30 03 |..0.6..C|..f.v.0.|
|00000e20| 48 c0 67 26 20 4e a0 23 | 55 4f 3f 2f 24 ac 61 ff |H.g& N.#|UO?/$.a.|
|00000e30| 00 00 0b 48 30 1f 2f 0b | 70 42 aa aa 20 4a a0 23 |...H0./.|pB.. J.#|
|00000e40| 30 43 2f 48 24 f4 60 00 | 02 0c 20 2f 01 4a 91 af |0C/H$.`.|.. /.J..|
|00000e50| 01 42 dc 80 b8 86 65 04 | 76 01 60 16 41 ef 01 4e |.B....e.|v.`.A..N|
|00000e60| 70 00 10 30 48 00 3f 00 | 61 ff ff ff f2 6e 26 00 |p..0H.?.|a....n&.|
|00000e70| 54 4f 20 06 90 84 b0 83 | 64 08 1f 7c 00 01 01 27 |TO .....|d..|...'|
|00000e80| 00 00 00 ae 4d 61 63 5a | 69 70 20 68 61 73 20 6f |....MacZ|ip has o|
|00000e90| 6e 6c 79 20 6f 6e 65 20 | 61 64 64 69 74 69 6f 6e |nly one |addition|
|00000ea0| 61 6c 20 65 76 65 6e 74 | 20 22 64 6f 5f 63 6d 64 |al event| "do_cmd|
|00000eb0| 22 2e 20 0d 59 6f 75 20 | 63 61 6e 20 65 6e 74 65 |". .You |can ente|
|00000ec0| 72 20 61 6e 79 20 76 61 | 6c 69 64 20 63 6f 6d 6d |r any va|lid comm|
|00000ed0| 61 6e 64 20 6c 69 6e 65 | 2e 20 0d 54 68 65 20 66 |and line|. .The f|
|00000ee0| 69 72 73 74 20 77 6f 72 | 64 20 6d 75 73 74 20 62 |irst wor|d must b|
|00000ef0| 65 20 22 7a 69 70 22 20 | 6f 72 20 22 75 6e 7a 69 |e "zip" |or "unzi|
|00000f00| 70 22 20 74 6f 20 73 65 | 6c 65 63 74 20 74 68 65 |p" to se|lect the|
|00000f10| 20 61 63 74 69 6f 6e 20 | 28 63 6f 6d 70 72 65 73 | action |(compres|
|00000f20| 73 20 6f 72 20 65 78 74 | 72 61 63 74 69 6f 6e 29 |s or ext|raction)|
|00000f30| 2e 0d 00 00 00 16 00 01 | 00 00 00 00 00 0e 00 0a |........|........|
|00000f40| 00 10 00 00 00 0c 00 00 | 00 00 00 00 00 00 00 14 |........|........|
|00000f50| 00 2d 00 6e 02 4a 02 6f | 00 2b 00 6e 02 68 02 d4 |.-.n.J.o|.+.n.h..|
|00000f60| 00 00 00 00 00 00 01 00 | 00 00 01 e4 00 00 00 e4 |........|........|
|00000f70| 00 00 00 5a 04 92 26 fc | 2c ce 00 00 00 1c 00 5a |...Z..&.|,......Z|
|00000f80| 00 02 54 45 58 54 00 00 | 00 1a 73 74 79 6c 00 00 |..TEXT..|..styl..|
|00000f90| 00 26 57 50 6f 73 00 00 | 00 32 04 68 ff ff 00 00 |.&WPos..|.2.h....|
|00000fa0| 00 00 04 92 28 e8 04 68 | ff ff 00 00 00 b2 04 92 |....(..h|........|
|00000fb0| 29 a0 00 80 ff ff 00 00 | 00 cc 04 92 28 f4 00 00 |).......|....(...|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+